﻿<!DOCTYPE html>
<html>
	<head>
	<meta charset="utf-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>晟日果蔬</title>
    <meta name="description" content="">
    <meta name="keywords" content="">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
    <meta name="renderer" content="webkit">
    <meta http-equiv="Cache-Control" content="no-siteapp" />

	<link rel="icon" type="image/png" href="assets/i/favicon.png">
	<!-- 通用文件引入 -->
	<#include "../common/mobile-base.html"/>   
	<script type="text/javascript" charset="utf-8" src="${webRoot!}/js/mobile/cart.js"></script>
	<script type="text/javascript">
		$(function(){
		    Cart.path = '${webRoot!}';
		});
	</script>
	</head>
	<body style="background: #fff;">
<header data-am-widget="header" class="am-header am-header-default joan-head2 ">
	<div class="am-header-left am-header-nav">
		<a href="javascript:history.back()" class="">
			<i class="am-icon-chevron-left"></i>
		</a>
	</div>
	<h1 class="am-header-title">
        <a href="" class="">商品清单</a>
    </h1>
    <div class="am-header-right am-header-nav">
   	<a href="javascript:Cart.clearAllCart()" class="">
     	共${shopCartNum!}件
   	</a>
    </div>
</header>

	<div class="c-comment-list" style="border: 0;">
	<#list shopCarts as cart>
	<div class="o-con2" >
    	<div class="o-con-img"><img src="${webRoot!}/upload/${cart.shop.sImgSmall!}"/></div>
        <div class="o-con-txt2">
        	<p>${cart.shop.sMobileName!}</p>
        	<p style="color: #afafaf;">${cart.shopPrice.spUnit!}(${cart.shopPrice.spSpecification!})</p>
        	 <div class="con">
             <div class="price">￥<span id="${cart.shop.sId!}-price">${cart.memberPrice!}</span></div>
             <div class="p-pur">
                   X&nbsp;${cart.scShopNum!}
             </div>
          </div>
        </div>
    </div>
    </#list>
	</div>
          
            
  
     <div data-am-widget="navbar" class="am-navbar  am-navbar-default gm-foot"   id="">
      <ul class="am-navbar-nav am-cf am-avg-sm-4">
          <li >
            <a href="${webRoot!}/mobile/index.do" class="">
                <span class="am-icon-home"></span>
                <span class="am-navbar-label">首页</span>
            </a>
          </li>
          <li>
            <a href="${webRoot!}/mobile/forwardShopType.do" class="">
                <span class="am-icon-th-large"></span>
                <span class="am-navbar-label">商品分类</span>
            </a>
          </li>
          
          <li>
            <a href="${webRoot!}/mobile/forwardShopCar.do" class="curr">
                <span class="am-icon-shopping-cart"></span>
                <span class="am-navbar-label">购物车<span class="badge badge-danger" id="shopCartNum"><#if shopCartNum gt 0>${shopCartNum!}</#if></span></span>
            </a>
          </li>
          <li >
            <a href="${webRoot!}/mobile/forwardMember.do" class="">
                <span class="am-icon-user"></span>
                <span class="am-navbar-label">个人中心</span>
            </a>
          </li>
      </ul>
  </div>

	</body>
</html>
